<?$sess = new Zend_Session_Namespace(CLU_NS);?>
<div class="box" style="border-bottom:1px solid #DFDFDF;">
		     <?if(isset($this->viewParams['items'])) :?>
		     <?$metadata = unserialize($this->viewParams['items'][0]['metadata'])?>
		     <div class="chitiet_title">&nbsp;&nbsp;
			     <a href="<?=$this->hvnUrl(array('type' => 'blog', 'action' => 'view'), 'node')?>?id=<?=$this->viewParams['items'][0]['id']?>"><?=$this->viewParams['items'][0]['title']?></a>
			 </div>
			 <div class="blog_news" align="left">
			 	<div class="blog_news_left"><?=t(136)?>  : 
			 	<a href="<?=$this->hvnUrl(array('action'=>'view'),'account')?>?id=<?=$this->viewParams['items'][0]['poster_id']?>"> <span><?=$metadata['poster_name']?></span>  </a>
			 	<?=t(3007)?> <?=date("G:i:s   j/n/Y", $this->viewParams['items'][0]['created']) ?></div>
 				<div class="blog_news_right"><?=$this->viewParams['items'][0]['views'] + 100 ?> <?=t(1019)?> - 
 					<?=$this->viewParams['items'][0]['comments']?> 
 					<?=t(601)?><?if($sess->viewLang == 'en' && $this->viewParams['items'][0]['comments'] > 0) echo 's'?></div>
			 </div>

			 <div class="clear"></div>
			 <div class="chitiet_img">
			 	<? if ($this->viewParams['items'][0]['thumb'])
                		$imageUrl = str_replace("/original/", "/medium/", $this->viewParams['items'][0]['thumb']);
                	else
                		$imageUrl = "/public/themes/hard/images/chitiet-img.jpg";
                ?>
                <img src=<?=$imageUrl?> />
			 </div>
			 <div class="text">
				<?=str_first_words(strip_tags($this->viewParams['items'][0]['body']), 180)?>
			 </div>			 
			 <div class="detail"><a style="color:#324171;" href="<?=$this->hvnUrl(array('type' => 'blog', 'action' => 'view'), 'node')?>?id=<?=$this->viewParams['items'][0]['id']?>"><?=t(150)?>...</a></div>
			 <script type="text/javascript">
				var oriLang = '<?= get_language_from_int($this->viewParams['items'][0]['language'])?>';
				var lang = '<?= $sess->viewLang?>';
			    googleTranslate(oriLang, lang, 'chitiet_title', 'text');
			</script>  
			 <?endif?>
			
		  </div>